{include file="common/header.tpl"}
<section class="main">	
    <article class="right-col">
    	<h2><a href="{$back}">{$language.title.national}</a> &raquo; {$language.ahref.update}</h2>
        <form name="frmEdit" id="frmEdit" method="post" enctype="multipart/form-data" action="{$smarty.const.HOST_BACKEND}national/saveedit" class="ui">
            <input type="hidden" class="hidden" name="nationalid" id="nationalid" value="{$row->code}"/>        	
            <ul>
            	{if isset($smarty.session.NATIONAL_ERROR)}
                	<li class="error">
                    	{include file="common/error.tpl" errors=$smarty.session.NATIONAL_ERROR}
                    </li>
                {/if}            	
                <li>
                	<label for="code">{$language.label.code}:</label>
                    <div class="txt">
	                	<input type="text" class="text" name="code" id="code" value="{$row->code}" autocomplete="false"/>
                	</div>
                </li>
                <li>
                	<label for="name">{$language.label.name}:</label>
                    <div class="txt">
	                	<input type="text" class="text" name="name" id="name" value="{$row->name}" autocomplete="false"/>
                	</div>
                </li>                             
                <li>
                 	<button type="submit"><strong>{$language.btn.save}</strong></button>
                    <button type="button" class="cancel" onclick="javascript:document.location.href='{$back}'"><strong>{$language.btn.cancel}</strong></button>
                </li>
            </ul>
        </form>       
    </article> 
</section>
{include file="common/footer.tpl"}
                
